package com.monkey.model.admin;

import com.monkey.generator.model.TAdmin;

/**
 * desc:
 * auth: chenxiaobin
 * data: 2018/2/5.
 */
public class Admin {
    private String account;
    private Integer level;
    private Boolean enable;

    public Admin(TAdmin admin) {
        this.account = admin.getAccount();
        this.level = admin.getLevel();
        this.enable = admin.getEnable();
    }

    public String getAccount() {
        return account;
    }

    public Integer getLevel() {
        return level;
    }

    public Boolean getEnable() {
        return enable;
    }
}
